package cn.edu.nju.freshdelivery.dao;

import java.util.List;

import cn.edu.nju.freshdelivery.model.Comment;

public interface CommentDAO {

	public void save(Comment transientInstance);

	public void delete(Comment persistentInstance);

	public Comment findById(java.lang.Integer id);

	public List<Comment> findByExample(Comment instance);

	public List findByProperty(String propertyName, Object value);

	public List<Comment> findByContent(Object content);

	public List<Comment> findByStar(Object star);

	public List<Comment> findByDish(Object dish);

	public List findAll();

	public Comment merge(Comment detachedInstance);

}